package com.tarena.lbs.activity.service;


import com.tarena.lbs.activity.pojo.param.ActivityAddParam;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;
import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;
import io.swagger.models.auth.In;
import org.springframework.stereotype.Service;

/**
 * @author 周恒宇
 * @date 6/10
 */
@Service
public interface ActivityService {

// 分页查询活动列表
    PageResult<ActivityVO> pageList() throws BusinessException;
    //添加活动
    void activitySave(ActivityAddParam activityAddParam) throws BusinessException;

    ActivityVO activityDetail(Integer id) throws BusinessException;

}
